package com.ruoyi.msg.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;


/**
 * 题库管理视图对象 msg_dcwj_tk
 *
 * @author xiaohao
 * @date 2023-02-01
 */
@Data
@ExcelIgnoreUnannotated
public class MsgDcwjTkVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 题型
     */
    @ExcelProperty(value = "题型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "tklx")
    private String type;

    /**
     * 总分
     */
    @ExcelProperty(value = "总分")
    private Long score;

    /**
     * 是否必答
     */
    @ExcelProperty(value = "是否必答", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_yes_no")
    private String must;

    /**
     * 题目
     */
    @ExcelProperty(value = "题目")
    private String topic;

    /**
     * 选项排列
     */
    @ExcelProperty(value = "选项排列", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "xxpl")
    private String format;


}
